package com.example.mqttxprovider;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

@SpringBootApplication
@MapperScan(basePackages = "com.example.mqttxprovider.dao")
@ComponentScan(basePackages = {"com.example.mqttxprovider.service","com.example.mqttxprovider.callback","com.example.mqttxprovider.config","com.example.mqttxprovider.controller"})
public class MqttxProviderApplication {

    public static void main(String[] args) {
        SpringApplication.run(MqttxProviderApplication.class, args);
    }

}
